package com.health.healthapplet.entity;


import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/*出行申报*/
public class TravelDeclare implements Serializable {
    @Excel(name = "序号")
    public int travelPersonId;//id
    @Excel(name = "姓名")
    public String travelPersonName;//姓名
    @Excel(name = "性别")
    public String travelPersonGender;//性别
    @Excel(name = "年龄")
    public int travelPersonAge;//年龄
    @Excel(name = "职业")
    public String travelPersonOccupation;//职业
    @Excel(name = "手机号")
    public String travelPersonPhone;//手机号
    @Excel(name = "公司名称")
    public String travelPersonCompanyName;//公司名称
    @Excel(name = "公司地址")
    public String travelPersonCompanyAddress;//公司地址
    @Excel(name = "现居住地址")
    public String travelPersonAddress;//现居住地址
    @Excel(name = "出行开始日期", exportFormat = "yyyy-MM-dd", importFormat = "yyyy-MM-dd",width = 30)
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd",timezone ="GMT+8")
    public Date travelPersonStartDate;//出行开始日期
    @Excel(name = "出行结束日期", exportFormat = "yyyy-MM-dd", importFormat = "yyyy-MM-dd",width = 30)
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd",timezone ="GMT+8")
    public Date travelPersonEndDate;//出行结束日期
    @Excel(name = "出发地")
    public String travelPersonPlace;//出发地
    @Excel(name = "目的地")
    public String travelPersonDestination;//目的地
    @Excel(name = "出行方式")
    public String travelPersonWay;//出行方式
    @Excel(name = "车次")
    public String travelPersonTrainNumber;//车次
    @Excel(name = "车牌")
    public String travelPersonCarNumber;//车牌
    @Excel(name = "创建日期", exportFormat = "yyyy-MM-dd HH:mm:ss", importFormat = "yyyy-MM-dd HH:mm:ss",width = 30)
//    @JsonFormat("yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    public Date travelPersonCreateTime;//创建日期

    public TravelDeclare(){}
    public TravelDeclare(String travelPersonName, String travelPersonGender, int travelPersonAge, String travelPersonOccupation, String travelPersonPhone, String travelPersonCompanyName, String travelPersonCompanyAddress, String travelPersonAddress, Date travelPersonStartDate, Date travelPersonEndDate, String travelPersonPlace, String travelPersonDestination, String travelPersonWay, String travelPersonTrainNumber, String travelPersonCarNumber) {
        this.travelPersonName = travelPersonName;
        this.travelPersonGender = travelPersonGender;
        this.travelPersonAge = travelPersonAge;
        this.travelPersonOccupation = travelPersonOccupation;
        this.travelPersonPhone = travelPersonPhone;
        this.travelPersonCompanyName = travelPersonCompanyName;
        this.travelPersonCompanyAddress = travelPersonCompanyAddress;
        this.travelPersonAddress = travelPersonAddress;
        this.travelPersonStartDate = travelPersonStartDate;
        this.travelPersonEndDate = travelPersonEndDate;
        this.travelPersonPlace = travelPersonPlace;
        this.travelPersonDestination = travelPersonDestination;
        this.travelPersonWay = travelPersonWay;
        this.travelPersonTrainNumber = travelPersonTrainNumber;
        this.travelPersonCarNumber = travelPersonCarNumber;
    }

    public int getTravelPersonId() {
        return travelPersonId;
    }

    public void setTravelPersonId(int travelPersonId) {
        this.travelPersonId = travelPersonId;
    }

    public String getTravelPersonName() {
        return travelPersonName;
    }

    public void setTravelPersonName(String travelPersonName) {
        this.travelPersonName = travelPersonName;
    }

    public String getTravelPersonGender() {
        return travelPersonGender;
    }

    public void setTravelPersonGender(String travelPersonGender) {
        this.travelPersonGender = travelPersonGender;
    }

    public int getTravelPersonAge() {
        return travelPersonAge;
    }

    public void setTravelPersonAge(int travelPersonAge) {
        this.travelPersonAge = travelPersonAge;
    }

    public String getTravelPersonOccupation() {
        return travelPersonOccupation;
    }

    public void setTravelPersonOccupation(String travelPersonOccupation) {
        this.travelPersonOccupation = travelPersonOccupation;
    }

    public String getTravelPersonPhone() {
        return travelPersonPhone;
    }

    public void setTravelPersonPhone(String travelPersonPhone) {
        this.travelPersonPhone = travelPersonPhone;
    }

    public String getTravelPersonCompanyName() {
        return travelPersonCompanyName;
    }

    public void setTravelPersonCompanyName(String travelPersonCompanyName) {
        this.travelPersonCompanyName = travelPersonCompanyName;
    }

    public String getTravelPersonCompanyAddress() {
        return travelPersonCompanyAddress;
    }

    public void setTravelPersonCompanyAddress(String travelPersonCompanyAddress) {
        this.travelPersonCompanyAddress = travelPersonCompanyAddress;
    }

    public String getTravelPersonAddress() {
        return travelPersonAddress;
    }

    public void setTravelPersonAddress(String travelPersonAddress) {
        this.travelPersonAddress = travelPersonAddress;
    }

    public Date getTravelPersonStartDate() {
        return travelPersonStartDate;
    }

    public void setTravelPersonStartDate(Date travelPersonStartDate) {
        this.travelPersonStartDate = travelPersonStartDate;
    }

    public Date getTravelPersonEndDate() {
        return travelPersonEndDate;
    }

    public void setTravelPersonEndDate(Date travelPersonEndDate) {
        this.travelPersonEndDate = travelPersonEndDate;
    }

    public String getTravelPersonPlace() {
        return travelPersonPlace;
    }

    public void setTravelPersonPlace(String travelPersonPlace) {
        this.travelPersonPlace = travelPersonPlace;
    }

    public String getTravelPersonDestination() {
        return travelPersonDestination;
    }

    public void setTravelPersonDestination(String travelPersonDestination) {
        this.travelPersonDestination = travelPersonDestination;
    }

    public String getTravelPersonWay() {
        return travelPersonWay;
    }

    public void setTravelPersonWay(String travelPersonWay) {
        this.travelPersonWay = travelPersonWay;
    }

    public String getTravelPersonTrainNumber() {
        return travelPersonTrainNumber;
    }

    public void setTravelPersonTrainNumber(String travelPersonTrainNumber) {
        this.travelPersonTrainNumber = travelPersonTrainNumber;
    }

    public String getTravelPersonCarNumber() {
        return travelPersonCarNumber;
    }

    public void setTravelPersonCarNumber(String travelPersonCarNumber) {
        this.travelPersonCarNumber = travelPersonCarNumber;
    }

    public Date getTravelPersonCreateTime() {
        return travelPersonCreateTime;
    }

    public void setTravelPersonCreateTime(Date travelPersonCreateTime) {
        this.travelPersonCreateTime = travelPersonCreateTime;
    }
}
